package org.example;

import org.apache.ibatis.session.SqlSession;
import org.example.dao.StudentDao;
import org.example.entry.Student;

import java.util.List;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {

        SqlSession session =
                SqlSessionFactoryUtils.openSession();
        StudentDao dao = session.getMapper(StudentDao.class);
        List<Student> list = dao.getAll();
        System.out.println("666");
    }
}
